package com.liang.blog.auth;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @Author：YanWenLiang
 * @Date:2023-08-17-16:59
 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@EnableDiscoveryClient
@ComponentScan(basePackages = "com.liang.blog")
@EnableFeignClients(basePackages = "com.liang.blog")
//@EnableAsync
public class BlogServiceAuthApplication {
    public static void main(String[] args) {
        SpringApplication.run(BlogServiceAuthApplication.class, args);
    }
}
